# -*- coding: UTF-8 -*-


class Image:
    def __init__(self, image_id=None, image_name=None, image_feature=None):
        
        self.id = image_id
        self.name = image_name
        self.star_number = int(image_feature[0])
        self.download_number = int(image_feature[1])
        self.layer_number = int(image_feature[2])
        self.size = image_feature[3]/1024 # 5~5120kb转换成Mb
        self.layer_list = image_feature[-1]
        
if __name__ == '__main__':
    pass
